OPTN\Admin\RestAdmin C

Total Complexity 105
Dependencies 12
Dependents 1
Total lines 768
Lines of code 561
Logical lines of code 214
Comment lines 79
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
handle_save_post()
A
50 16 23
register_routes()
A
30 1 201
handle_download_assets()
A
42 7 56
handle_get_archive_pages()
A
48 7 34
shortcode_support()
S
51 7 25
handle_support_ticket()
S
52 7 23
shortcode_content()
S
46 5 39
handle_delete_post()
S
58 6 13
handle_get_posts()
S
65 6 7
handle_get_products()
S
46 2 46
handle_get_video_assets()
S
62 5 10
handle_get_image_assets()
S
62 5 10
handle_get_rule_values()
S
65 5 7
handle_delete_leads()
S
60 4 12
handle_get_leads()
S
70 4 5
handle_get_preset()
S
67 3 7
handle_update_settings()
S
64 3 8
handle_restore_post()
S
63 3 9
handle_get_post()
S
71 2 5
handle_get_rule_options()
S
71 2 5
__construct()
S
77 1 4
handle_get_presets()
S
80 1 3
handle_get_templates()
S
80 1 3
handle_get_settings()
S
79 1 3
permission_callback()
S
80 1 3